package com.xja.mapper;

import com.xja.pojo.ArticleCollInfo;
import com.xja.pojo.ArticleComment;
import com.xja.pojo.CourseInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BlogMapper {
    List<CourseInfo> getCourseInfoList(CourseInfo courseInfo);

    CourseInfo getCourseInfoById(Integer cid);

    List<ArticleComment> getAllComment();

    List<ArticleCollInfo> getcollList(Integer uid);

    void addexrep(@Param("uid") Integer uid, @Param("format")String format,@Param("content")String content);
}
